package com.dys.mvcstudy;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.dys.mvcstudy.mvc.MVCActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.btn_start).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // 跳转到mvc界面
                Intent intent = new Intent(MainActivity.this, MVCActivity.class);
                MainActivity.this.startActivity(intent);
            }
        });
    }
}